<template>
  <div class="home">
    <el-container>
      <el-header>
        <Header />
      </el-header>
      <el-container>
        <!-- <el-scrollbar style="background: rgb(84, 92, 100)"> -->
        <el-aside width="200px" class="side">
          <MenuList />
        </el-aside>
        <!-- </el-scrollbar> -->
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from "../components/header"
import MenuList from "../components/menu"
export default {
  name: "home",
  components: {
    Header,
    MenuList,
  },
  data() {
    return {}
  },
}
</script>
<style lang="less">
.home {
  height: 100%;
  .el-header {
    padding: 0;
  }
  .el-container,
  .el-aside,
  .el-main {
    height: 100%;
  }
  .el-aside {
    background-color: #545c64;
    padding-bottom: 60px;
  }
}
</style>
